﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Enrolpd.aspx.cs" Inherits="Enrolpd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
<!--

function btnReset_onclick() {

}

// -->
</script>

</head>
<body background ="../../images/物资右侧背景.jpg"  style="font-size:9pt">
    <form id="form1" runat="server">
    <div>
        <div style="text-align: left">
            <table style="width: 588px" border="0" cellpadding="0" cellspacing="0">
                
                <tr>
                    <td style="width: 56px; height: 20px">
                        盘点单号</td>
                    <td style="width: 41px; height: 20px">
                        <asp:TextBox ID="txtpdID" runat="server" Enabled="False"></asp:TextBox></td>
                    <td style="width: 37px; height: 20px">
                    </td>
                    <td style="width: 57px; height: 20px">
                    </td>
                    <td style="width: 100px; height: 20px">
                        </td>
                </tr>
                <tr>
                    <td style="width: 56px; height: 20px">
                        盘点日期</td>
                    <td style="width: 41px; height: 20px">
                        <asp:TextBox ID="txtpdDate" runat="server"></asp:TextBox></td>
                    <td style="width: 37px; height: 20px">
                        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtpdDate"
                            Display="Dynamic" ErrorMessage="CustomValidator" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator></td>
                    <td style="width: 57px; height: 20px">
                        存放仓库</td>
                    <td style="width: 100px; height: 20px">
                        <asp:DropDownList ID="ddlStorePlace" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 56px; height: 20px">
                        盘 点 人</td>
                    <td style="width: 41px; height: 20px">
                        <asp:TextBox ID="txtpdMan" runat="server"></asp:TextBox></td>
                    <td style="width: 37px; height: 20px">
                    </td>
                    <td style="width: 57px; height: 20px">
                        备 注</td>
                    <td style="width: 100px; height: 20px">
                        <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Width="156px"></asp:TextBox></td>
                </tr>
            </table>
            <br />
        </div>
    
    </div>
        <table style="width: 76%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 64px; height: 19px;">
                    物资编码</td>
                <td style="width: 100px; text-align: left; height: 19px;">
                    <asp:LinkButton ID="lnkWzID" runat="server" OnClick="lnkButtonWzID_Click" CausesValidation="False">物资编码</asp:LinkButton></td>
                <td style="width: 92px; height: 19px; text-align: left">
                </td>
                <td style="width: 84px; color: #000000; height: 19px;" align="left">
                    </td>
                <td style="width: 162px; height: 19px;">
                    </td>
                <td style="width: 3px; height: 19px">
                </td>
            </tr>
            <tr>
                <td style="width: 64px">
                    名 称</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtName" runat="server" Enabled="False"></asp:TextBox>
                    </td>
                <td style="width: 92px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
                <td style="width: 84px" align="left">
                    计量单位</td>
                <td style="width: 162px">
                    <asp:DropDownList ID="ddlUnit" runat="server">
                    </asp:DropDownList></td>
                <td style="width: 3px">
                </td>
            </tr>
            <tr>
                <td style="width: 64px; height: 14px;">
                    型 号</td>
                <td style="width: 100px; height: 14px;">
                    <asp:TextBox ID="txtModel" runat="server" Enabled="False"></asp:TextBox></td>
                <td style="width: 92px; height: 14px">
                </td>
                <td style="width: 84px; vertical-align: top; height: 14px; text-align: left;" align="left">
                    数 量</td>
                <td style="width: 162px; vertical-align: top; height: 14px; text-align: left;">
                    <asp:TextBox ID="TxtAmount" runat="server" AutoPostBack="True" OnTextChanged="TxtAmount_TextChanged"></asp:TextBox>
                    </td>
                <td style="vertical-align: top; width: 3px; height: 14px; text-align: left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxtAmount"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 64px">
                    规 格</td>
                <td style="width: 100px">
                    <asp:TextBox ID="txtSpec" runat="server" Enabled="False"></asp:TextBox></td>
                <td style="width: 92px">
                </td>
                <td style="width: 84px" align="left">
                    赢亏类型</td>
                <td style="width: 162px">
                    <asp:RadioButton ID="RadioButton2" runat="server" Checked="True" Text="盘赢" GroupName="radio" />
                    <asp:RadioButton ID="RadioButton1" runat="server" Text="盘亏" GroupName="radio" /></td>
                <td style="width: 3px">
                </td>
            </tr>
            <tr>
                <td style="width: 64px">
                    品 牌</td>
                <td align="left" style="width: 100px">
                    <asp:TextBox ID="txtCard" runat="server" Enabled="False"></asp:TextBox></td>
                <td align="left" style="width: 92px">
                </td>
                <td style="width: 84px" align="left">
                    合计金额</td>
                <td style="width: 162px">
                    <asp:TextBox ID="txtGathering" runat="server"></asp:TextBox></td>
                <td style="width: 3px">
                </td>
            </tr>
            <tr>
                <td style="width: 64px; height: 22px">
                    单 价</td>
                <td style="width: 100px; height: 22px">
                    <asp:TextBox ID="txtUnitPrise" runat="server" Enabled="False"></asp:TextBox>
                    </td>
                <td style="width: 92px; height: 22px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUnitPrise"
                        Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
                <td colspan="2" style="height: 22px; text-align: center;" align="left">
                    <asp:Button ID="btnClickOK" runat="server" OnClick="btnClickOK_Click" Text="登记" Width="40px" />
                    <input id="btnReset" type="reset" value="重置" language="javascript" onclick="return btnReset_onclick()" /></td>
                <td colspan="1" style="width: 3px; height: 22px; text-align: center">
                </td>
            </tr>
        </table>
        &nbsp;
        <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
            &nbsp;<table style="vertical-align: top; text-align: left" width="80%">
                <tr>
                    <td rowspan="3" style="width: 90px">
                        <asp:TreeView ID="TreeView1" runat="server" ExpandDepth="0" ImageSet="WindowsHelp"
                            OnSelectedNodeChanged="TreeView1_SelectedNodeChanged1" EnableClientScript="False">
                            <ParentNodeStyle Font-Bold="False" />
                            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
                            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" HorizontalPadding="0px"
                                VerticalPadding="0px" />
                            <RootNodeStyle BorderStyle="None" />
                            <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                                NodeSpacing="0px" VerticalPadding="1px" />
                        </asp:TreeView>
                    </td>
                    <td rowspan="2" style="width: 723px">
                        <asp:GridView ID="gvStatistic" runat="server" AutoGenerateColumns="False" OnSelectedIndexChanging="gvStatistic_SelectedIndexChanging"
                            Width="490px" BorderColor="Black" BorderWidth="1px" CellSpacing="1">
                            <Columns>
                                <asp:BoundField DataField="WzID" HeaderText="物资编号" />
                                <asp:BoundField DataField="WzType" HeaderText="名称" />
                                <asp:BoundField DataField="Name" HeaderText="型号" />
                                <asp:BoundField DataField="Mode" HeaderText="规格" />
                                <asp:BoundField DataField="Spec" HeaderText="品牌" />
                                <asp:BoundField DataField="UnitPrise" HeaderText="单价" />
                                <asp:BoundField DataField="Unit" HeaderText="计量单位" />
                                <asp:BoundField DataField="Type" HeaderText="固定资产" />
                                <asp:CommandField HeaderText="选择" ShowSelectButton="True" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </form>
</body>
</html>
